making defensive copies of collections.