I have found this origin.
So, 'ne'er cast a clout...' just means 'never discard your [warm winter] clothing...'.
The 'till May be out' part is where the doubt lies. On the face of it this would mean 'until [the month of] May is ended'.
Ne'er cast a clout till May be out