Tax-smart ways to manage an inheritance