It would be much easier to help you if you gave real examples, with real metrics.
The expression you have given can't possibly give "duplicate" entries. However, you could end up with entries with different sets of labels, e.g.
mymetric{label1="foo",label2="bar"}
mymetric{label1="foo",label2="bar",label3="baz"}
You can most likely use "or on(...)" or "or ignoring(...)" to avoid this problem - again, it depends on the exact details of your metrics and their labels.
There are some concrete examples which may help you here: