I don't think I've ever seen one law violate so much of the Bill of Rights. It just needs a clause about quartering troops in your home, and I think it manages to violate them all.
https://www.washingtontimes.com/news/2018/nov/22/new-york-gun-bill-requires-purchasers-surrender-so/