The Inpainting Brush Tool restores damaged, lost, deteriorated or unwanted areas of an image.
When inpainting on an image or RAW layer, that layer is rasterized upon applying the strokes. This behavior can be modified in the app's Assistant section in Settings.
The following settings can be adjusted from the context toolbar: