For example you can gift someone a expensive building right before your death, because when you do die, they will be forced to pay so much inheritance tax, that they would have to sell the building, since selling the building is quite hard, it is likely the person will just go bankrupt, or go to jail.
EDIT: I misremembered something. The gift wasn't before death, it was on the will. ie: person die, and "target" inherits some expensive crap he can't sell.