Eggsactly!

Where does the saying 'As sure as eggs is eggs' come from?

Thanks

This is from James Briggs' Bedtime Browser;
As sure as eggs is eggs is used to describe a certainty but,again,why eggs? This is another possible adulteration, this time eggs is really "X" and the saying should be As sure as X is X.