I have added a class attribute to an element that is cloned so that I can style the clone as a thumbnail image.
var $item = $(this).closest(".icon")