Clones an Object
Creates an identical copy of the object and returns a reference to the new object.
## S3 method for class 'Object' clone(this, ...)
... |
Not used. |
Please note that no constructors are called during the creation of the clone and neither is any static class code called.
A reference to the new object.
Henrik Bengtsson
For more information see Object
.
o1 <- Object() o2 <- clone(o1) print(equals(o1, o2))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.