# File lib/rubygame/rect.rb, line 378
        def clamp(rect)
                self.dup.clamp!(rect)
        end