Add support for inplace cleaning

This is done in mat2 and not in libmat2 to make the
implementation as simple as possible.
10 jobs for inplace_cleaning in 3 minutes and 52 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Linting
passed #103215
linting:bandit

00:00:19

passed #103216
linting:codespell

00:00:22

passed #103219
linting:mypy

00:00:21

passed #103218
linting:pyflakes

00:00:19

passed #103217
linting:pylint

00:00:29

 
  Test
passed #103220
tests:archlinux

00:01:31

passed #103221
tests:debian

00:01:25

passed #103222
tests:debian_with_bubblewrap

00:01:59

100.0%
passed #103223
tests:fedora

00:01:31

passed #103224
tests:gentoo

00:03:20