clone.Rd
Generic function to clone objects
clone(x, ...)
signature(x = "jobjRef")
: clone a java object reference (must implement Cloneable)
signature(x = "jarrayRef")
: clone a java rugged array (not yet implemented)
signature(x = "jrectRef")
: clone a java rectangular array (not yet implemented)
An object to clone
Further arguments, ignored
A clone of the object
The implementation of clone for java object references uses the clone method of the Object class. The reading of its description in the java help page is strongly recommended.