Prevent adding same object multiple times