$( ".hello" ).clone().appendTo( ".goodbye" );
// Shallow copy
var newObject = jQuery.extend({}, oldObject);
// Deep copy
var newObject = jQuery.extend(true, {}, oldObject);
*/Clone Element in DOM /*
const elementToClone = $('.className')[0]; // Element to be cloned
const clonedInMemory = elementToClone.cloneNode(true); // clone the element
$(clonedInMemory).insertAfter('className'); // Insert in another place