The cloneNode() method of the Node interface returns a duplicate of the node on which this method was called.
cloneNode()
MDN Reference