unique - UNIQUE option
The unique option prevents the index or collection from storing duplicate key values in an index. Duplicates are detected depending on the data type for the key components and depending on the case sensitive option set for text key components.
Any attempt of storing instances, which create duplicate key values for unique indexes , are denied.
Type: logical