A development credit corporation shall set apart a surplus of not less than ten percent of its net earnings in each and every year until such surplus, with any unimpaired surplus paid in, shall amount to one-half of the capital stock. The said surplus shall be kept to secure against losses and contingencies, and whenever the same becomes impaired it shall be reimbursed in the manner provided for its accumulation.