ev = (EventHandler) ((FastCloneable) ev).createCopy();
} else {
try {
ev = (EventHandler) cloneMethod.invoke(ev);
} catch (Exception e) {
throw new TemplateException("Could not clone a ContextAware event handler: "
+ ev.getClass().getName(), e);
}
}
}