If you try to purchase something that the other person already has you will get an error message:
We Encountered An Error
We're sorry, but we had a problem processing your request. The error or errors encountered were:
It appears the gift recipient already has this product.