by value

Object by value help

Hello i have a custom object I created and it i am trying to clone it with an identical object but it seems the object is by reference.

Here is just a sample of what I am doing to give you an idea possibly what I am looking for.

My object has one property that I can read and write to. (get set) named ID. It also has a constructor.

local myobject:myobject &oID = create myobject:myobject();
&oID.ID="cool1";

local myobject:myobject &oID2 = create myobject:myobject();
&oID2=&oID;

&oID2.ID="NOTCool";