Make a copy of the keyset and iterate over that