This does not show any noticeable performance gain in the benchmarks, but it can avoid introducing performance issues in the future.
https://clang.llvm.org/extra/clang-tidy/checks/performance/no-automatic-move.html
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/26758 | core#26758]]