private void createOperatorCopy(final SemanticAnalyzer cachedPlan) {
    this.topOps = makeCopy(cachedPlan.topOpsCopy, cachedPlan.topOpsCopy.getClass());
  }
Utility method to create copy of provided object using kryo serialization/de-serialization.
ql/src/java/org/apache/hadoop/hive/ql/parse/ExecuteStatementAnalyzer.java