I don't know how often sunset clauses are used in (US) federal legislation, but I do recall that the original "Assault Weapons Ban" of 1994[1] had, and eventually utilized, a sunset clause. The law did, in fact, expire in its entirety in 2004.
[1] https://en.wikipedia.org/wiki/Federal_Assault_Weapons_Ban
I don't know how often sunset clauses are used in (US) federal legislation, but I do recall that the original "Assault Weapons Ban" of 1994[1] had, and eventually utilized, a sunset clause. The law did, in fact, expire in its entirety in 2004.
[1] https://en.wikipedia.org/wiki/Federal_Assault_Weapons_Ban