Add clip() utility function to Base

I created a new topic for this question, it turns out it is important: