Make an existing library into a template or master for new libraries

Hi

I have a library I have been working on for 2 years which has all the settings, screeen layouts, connections to term lists etc set upi the way I want

How can I make it into a template or master for new libraries?

TIA/gary