Prevent duplicate items on a model level