212213214215216217218219220221222
Ref ref = (Ref) original; try { return (ref.clone()); } catch (CloneNotSupportedException e) { throw new HibernateException("Cannot clone ref."); } }