Make clear that the enum array should not be changed once defined. [ci skip]

Follow up from ~~#13186~~.

cc @dhh @sanny @rafaelfranca