to the taxpayer If there has been a prior application of subsection (a)(1) to an asset while such asset was held by the taxpayer, the date of acquisition of such asset by the taxpayer shall be treated as not earlier than the date of the most recent such prior application. (i) Regulations The Secretary shall prescribe such regulations as may be necessary or appropriate to carry out the purposes of this section. . (b) Clerical amendment The table of sections for part II of subchapter O of chapter 1 of such Code is amended by striking the item relating to section 1023 and by inserting after the item relating to section 1022 the following new items: Sec. 1022. Indexing of certain assets for purposes of determining gain or loss. Sec. 1023. Cross references. . (c) Effective date The amendments made by this section shall apply to indexed assets acquired by the taxpayer after December 31, 2017, in taxable years ending after such date.