Support clamping of TIFF images

Description

In some cases, it is desirable that TIFF images either fail or return the clamped value when evaluated outside of the domain (See spatial-model-editor!401)

Proposal

Add a policy that allows switching the behaviour of queries outside of the domain.

How to test the implementation?

Add a test that backwards compares with the manually generated output for the new cases.

Related issues

See spatial-model-editor!401