Municipalities are hereby authorized, in the discretion of the governing authorities, to purchase errors and omissions insurance for municipal officials and municipal employees.