Copying | jQuery API Documentation

.clone()

Create a deep copy of the set of matched elements.