You could add a list operation and select Intersect as operation type, and add the same list as variable 1 and 2, this will have a set as output which can't have duplicate items in it. It's a slight workaround because we don't make a difference between sets and lists in our microflows, it would be confusing to non-technical people.
It is impossible for an object to occur in a list twice. In other words, if you add an object to a list, that is already there, nothing will happen, so objects in a list are always unique.