jQuery provides clone() method which creates deep copy set of all the elements which means it will copy the child nodes also. Clone() method is the best way to duplicate content of any element. For example, I have placed a div and a button. On click of button, we will clone the div and add it to body tag.
jQuery By Example Rocks!!!
<input type="button" id="btnClone" value="Clone Div" />