When calling cloneNode()
on a DOM node with a <canvas>
child, the canvas content doesn't get cloned.
Is there a way to tell cloneNode()
to clone the canvas contents as well, or maybe modify the canvas node in such way that the contents will get cloned?