We saw this SO post on cloning HTML5 canvas elements: Any way to clone HTML5 canvas element with its content?
We tried doing a deep clone with jQuery (i.e., $(canvas).clone(true) ), but the image data didn’t seem to copy over.
Is this not possible with jQuery?
If you don’t need to copy any attached event handlers (which, in general, I doubt is possible), I’d just use the currently accepted solution to Display canvas image from one canvas to another canvas using base64
Of course, you’d have to create the destination canvas first, so, before that, you’d have to: