Added flag copy_data to list, vector and hashmap