Query .clone()Demonstrates cloning DOM elements with all content and attributes using .clone()query-clonecomponentQuerypage.jsDOM Manipulationclone() creates deep copies of elements including all child nodes and attributes["query","dom","clone","copy","duplicate"].clone()Example