public Reference copy(Reference r) { Ice.Identity ident = r.getIdentity(); if(ident.name.Length == 0 && ident.category.Length == 0) { return null; } return (Reference)r.Clone(); }