presets: Add preset overriding
I have cherry-picked and updated !8227 (closed). @Arastais I hope you don't mind, if you want to take over again, feel free to cherry-pick this commit back.
TODO:
-
Resolve cherry-pick issue from missing global environment -
Port the override to the other presets as well -
Add appropriate tests
Closes: #23046
Topic-rename: presets-override
Edited by Brad King