Stop using references for objects/arrays