Added bindings for extrapolate_mask