If a nonresident alien individual has a residency starting date within 5 years after directly or indirectly transferring property to a foreign trust, this section and section
6048 shall be applied as if such individual transferred to such trust on the residency starting date an amount equal to the portion of such trust attributable to the property transferred by such individual to such trust in such transfer.