added shallow copy method