How Revit recognizes and indexs Duplicate?

List.Deconstruct separates the first item in a list and the rest of the items. That will always leave you with one item.