public interface PublicCloneable extends Cloneable
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a clone of the object.
|
Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- if cloning is not supported for some reason.