Cloneable
This interface is implemented by all cloneable objects.
Tags
Table of Contents
Methods
- clone() : static
- Creates a deep copy of the current instance.
Methods
clone()
Creates a deep copy of the current instance.
public
clone() : static
This method clones the current object and its properties. Useful when you want to duplicate options without affecting the original reference.
Return values
static —A new instance.