copy object without cloning implementation