Use clones as independent gameobjects

Hi, I`m making a 2D Unity game, in which you can move over 3 lanes and fire arrows that only affects their specific lane.

In order to do that I`m changing the layer of the arrow prefab every time you move from one lane to another.

Arrows change to childs of the terrain on hit, but when the arrow prefab change his layer, clone arrows do the same(even the ones that are parented to terrain in other lane)

How can I make arrows that are parented to terrain not to be affected by the arrow prefab change of layer?

Thanks

Hi, I solved my problem, It was as easy as changing arrows layer when I instantiate it

Hope it helps