final BasicOperator cloneNew = (toCloneNew instanceof PatternMatcher || toCloneNew instanceof Root) ? toCloneNew
: toCloneNew.clone();
final OperatorIDTuple oidOld = toClone.getPrecedingOperators()
.get(0).getOperatorIDTuple(toClone);
cloneNew.replaceOperatorIDTuple(oidOld, new OperatorIDTuple(
clone, toCloneNew.getSucceedingOperators().get(0)
.getId()));
clone.setPrecedingOperator(cloneNew);
clone = cloneNew;
toClone = toCloneNew;