asImmutable

Wraps this MutableGrid in an ImmutableGrid.

Any changes made to the MutableGrid will reflect in the ImmutableGrid, so don't do that. This functionality is useful when one is certain that the Grid will never be modified afterward, as it allows the internal state generation and verification to be skipped.