JQuery Clone
$( ".hello" ).clone().appendTo( ".goodbye" );
Annoying Ant
$( ".hello" ).clone().appendTo( ".goodbye" );
// Shallow copy
var newObject = jQuery.extend({}, oldObject);
// Deep copy
var newObject = jQuery.extend(true, {}, oldObject);