Making a deep copy of gameobject.

Hello, i have a working inventory, now i want to make quick access panel.When the player drags an item form the inventory to the quick action slot it should copy values of that slot. Is there an easy way to create a reference to the slot in the inventory, so when player uses item from either slot it updates both of them?

Uhm what you describe is the exact opposite of a deep copy. A deep copy creates a completely seperate copy of an object. You seem to actually want just a reference to the same item. However we can’t help you since we don’t know how your inventory system works, how an inventory item is represented and how you implemented your quick access panel