| Syntax |
|
| Documentation | $clone: Make a copy of an object. If deep is not given or true all referenced objects by the object will be recursively cloned, too. This means that e.g. cloning an array with deep as false just clones the array, not the array elements.
|
| Examples | |
| $set{a1}{$array.new{}} $set{a1[0]}{hello} $set{a2}{$clone{$get{a1}}} Contents: $get{a1[0]}-$get{a2[0]} | |
| Group | String |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | 2 |