Gather information about duplicate keys