clone creates a deep copy of a
Hashmap so that
modifications made to the cloned object do not affect the original object.
an object created by a call to
Since the actual cloning is done in C++,
y <- clone(x) should
be much more efficient than
y <- hashmap(x$keys(), x$values()).
Hashmap identical to the input object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.