if (!(originalChildView instanceof CloneableView))
{
throw new EPException("Unexpected error copying subview " + originalChildView.getClass().getName());
}
CloneableView cloneableView = (CloneableView) originalChildView;
// Copy child node
View copyChildView = cloneableView.cloneView(statementContext);
copyChildView.setParent(groupView);
subViewList.add(copyChildView);
// Make the sub views for child copying from the original to the child
copySubViews(groupView.getCriteriaExpressions(), propertyNames, groupByValues, originalChildView, copyChildView,