@Override public BezierFigure clone() { BezierFigure that = (BezierFigure) super.clone(); that.path = this.path.clone(); that.invalidate(); return that; }