Pass copy of object to $setViewValue