Add support for ignoring inverse side when adding to a collection.
This helps memory management.