Add becomeImmutable

Provides a means of converting an entity into one that cannot be
mutated. Also provides means for obtaining a mutable copy.