It is an error if the obj belongs to a different document or to a GoGroup. If the object already belongs to this document, nothing happens. If the object is a link, it adds the link to the LinksLayer rather than to the DefaultLayer, as is conventional.