immutable

Creates an immutable copy of this location. This is useful for ensuring that the location cannot be modified. If any modification operations are called on the returned location, a new instance will be created but the original location will remain unchanged.