Clone arrays got from the hashmap instead