clone method for Point and Rect