The government has announced that all retained EU laws will be sunset on 31 December 2023, enabling the UK to create regulations tailor-made for its people.