/src/main/java/net/finmath/marketdata/model/curves/CurveInterpolation.java
final Point newPoint = ( Point ) point.clone ( ) ;
final CurveInterpolation newCurve = (CurveInterpolation) super.clone(); newCurve.points = new ArrayList<>(); newCurve.pointsBeingParameters = new ArrayList<>(); newCurve.rationalFunctionInterpolation = null; newCurve.curveCacheReference = null; for(final Point point : points) { <extra_id_0> newCurve.points.add(newPoint); if(point.isParameter) { newCurve.pointsBeingParameters.add(newPoint); } } return newCurve;