.clone()
- The function .clone() will create a copy of an object. The function takes in no parameters.
+ The function .clone() will create a copy of an object. The function takes in no parameters. If the function is used incorrectly, it may clone exponentially.
object.clone();
//clones 'object
See Further: