It looks like you're new here. If you want to get involved, click one of these buttons!
where the print statement prints "David" and not "Jane".<<set $activePerson to { name : "David" }>>
<<set $secondPerson to $activePerson>>
<<set $activePerson.name to "Jane">>
<<print $secondPerson.name>>
Comments
For example:
@TheMadExile
Is that function documented?
Still, in this case, the clone() API has been stable for a very long time and is extremely unlikely to change in the future, so having it documented shouldn't be an issue—still have to decide where to put it though.