Use a copy when enumerating.