Support more than two dupes.