The "keep-glob" setting:

The value is list of GLOB patterns, separated by spaces, commas, or newlines, specifying files that the "clean" command will keep.