A bit of background:
On bootstrap, I'm using jQuery's .data() to store a (paused) TweenLite object against an associated DOM element - there are 10 of these such elements.
I'm then iterating through these DOM elements, and appending a cloned TweenLite object to an array.
The reason I need to clone (using jQuery.extend()) each TweenLite object is because I don't wish to use the reference-based relationship that .data() uses; I simply want a clone of the object.
However, when I try this, I get an uncaught exception thrown, Cannot add [object Object] into the timeline; it is not a tween, timeline, function, or string. How can I get around this?
My codepen is http://codepen.io/anon/pen/sthBk
Thanks for any help in advance
Cheers
James