Creates a copy of this Line2d object. The result is entirely independent and can be edited without affecting the original Line2d object.