The city may require, at the discretion of the City Council, a maintenance bond for any work performed for the city, in an amount to be determined by the city, which shall guarantee the complete repair and correction of any latent defects which may arise from work performed by the contractor or any subcontractor, for a period of time to be determined by the city, not to exceed four years.