Improved object copy.