Split from bitcoin/bitcoin#26642 as requested.
For the problem description see https://clang.llvm.org/extra/clang-tidy/checks/performance/no-automatic-move.html.
The following types are affected:
std::pair<CAddress, NodeSeconds>std::vector<CAddress>UniValue, also see bitcoin/bitcoin#25429QColorCBlockMempoolAcceptResultstd::shared_ptr<CWallet>std::optional<SelectionResult>CTransactionRef, which isstd::shared_ptr<const CTransaction>