don' use `clip` as name, overwrites keyword
`keep_mask`