data(acme)
acmeClone <- Clone(acme)
acmeClone$name <- "New Acme"
# acmeClone does not point to the same reference object anymore:
acme$name
#cloning a subtree
data(acme)
itClone <- Clone(acme$IT)
itClone$isRoot
Run the code above in your browser using DataLab