Appreciated property held in an irrevocable (non-grantor) trust does not generally benefit from a step-up in cost basis at the death of the grantor. With a swap power, the trustee can swap out low basis assets held inside the trust with higher basis assets owned by the grantor.