Heir and spare

As a Brit I should know this but, does anyone know when the English phrase "Heir and spare" originated?