So - is there an easy way to clone an instance of a class?
I have a Sphere() class that’s expensive to instantiate - I’d like to make one, then copy it, and modify the copy.
But if I say “s=Sphere()” then “s2=s” - they’re both references to the same object, modifying one modifies the other.
If theres no easy way, I can work around it by breaking out the expensive part (vertex calculations). But it would be cleaner if there was an easy way to copy-by-value.