Fast site creation is a new functionality introduced with Microsoft 2016 on-premises.
It makes a site template at the content database level which enhances the site creation functionality significantly.
So, here is how we can do it.
Please refer the detailed tutorial along with the scripts:
I hope this will help you out.