Do you need to make a clone of the element as well? Or are you just trying to clone the variables/functions that you've added to the element?
This question discusses cloning in JQuery, and the difference between a deep copy and a shallow copy. The accepted answer is that given by John Resig, who knows a thing or two about JQuery!
It is frustrating that many years later, there is still no way to report or undo questions falsely marked as duplicate. Who watches the watchmen?
NexiiMalthus To be fair John Resig's (!) answer sort of makes that question a more appropriate primary question.Surprised to see someone still putting value on Stack Overflow :)