/src/main/java/net/finmath/marketdata/model/curves/PiecewiseCurve.java
final PiecewiseCurve buildCurve = piecewiseCurve.clone( ) ;
final PiecewiseCurve buildCurve = curve.clone ( ) ;
public Builder(final PiecewiseCurve piecewiseCurve) throws CloneNotSupportedException { super((CurveInterpolation)(piecewiseCurve.baseCurve)); curve = piecewiseCurve; } @Override public Curve build() throws CloneNotSupportedException { <extra_id_0> buildCurve.baseCurve = super.build(); curve = null; return buildCurve; } } public PiecewiseCurve(final Curve curve,