Need setting that prevent duplicate edges on the same pair of vertex

Ex: When run this command “CREATE EDGE Own FROM aPerson TO aPet” multiple times, I don’t want the DB create multiple ‘Own’ edges to the same pet. Imagine how many real-world use cases are similar to this.

It would be more convenient and less error-prone to have that kind of setting (maybe ‘NO-DUPLICATE’) at class level rather than rely on user writing commands to check this conditions every edges creation.