Making Node and Criteria implement Cloneable