public object Clone() { Point2 a_new = (Point2)PointA.Clone(); Point2 b_new = (Point2)PointB.Clone(); return(new LineSegment2() { PointA = a_new, PointB = b_new }); }