/** * Returns a deep copy of this attribute set. * * @see <a href="../../../../api/com/novell/ldap/LDAPAttributeSet.html#clone()"> com.novell.ldap.LDAPAttributeSet.clone()</a> */ public Object clone() throws CloneNotSupportedException { try { Object newObj = super.clone(); ((LDAPAttributeSet)newObj).attrSet = (com.novell.ldap.LDAPAttributeSet)attrSet.clone(); return newObj; } catch( CloneNotSupportedException ce) { throw new RuntimeException("Internal error, cannot create clone"); } }