The ability of a substance to resist irreversible change in its chemical or physical structure.