Map selection to generate new object with new ids.