Is it possible to receive a gift on Steam and put it in your inventory if you already own it?
This didn't use to be possible, but it has been fixed now. The old gifting system has been integrated with the inventory.
When you click the "Accept Gift" button in the "pending gifts" section of your inventory, you'll get the option of storing it in your Steam Inventory.