I know some rich people who have Pillsbury stock from 1935, stuff like that, they always give it away with their charitable contributions at the end of the year so that they can avoid the capital gains tax, which would be massive.
Not sure if that applies to gifting it to heirs. Another idea is the give it away while still alive to avoid the whole estate situation. Obviously, consult someone with a lot more expertise than me.