Source: https://money.stackexchange.com/questions/24137/minimize-capital-gains-on-sale-of-investment-rental-property