In the r151 change log, Ashley mentions this about the new AsJSON expression:
"...as well as other useful things like setting one object's state to another's."
If I'm thinking about this correctly, could we simulate passing an object to a function by doing this:
1) Store AsJSON data of object to a string.
2) Delete object.
3) Call Function, passing AsJSON string as a parameter.
4) Inside the function, create replacement object from AsJSON data.
5) Manipulate new object based on whatever it is the function is designed to do.
Of course, I'll be experimenting with this, but I'm too impatient to wait until I'm home from work. Thought I would toss it out there for others to comment on :) Thanks.