WalletModel::UnlockContext seems to implement "move upon copy" semantics; with C++11 this can be done more safely using move semantics (making attempts to actually copy fail instead).
Backport of Core [[https://github.com/bitcoin/bitcoin/pull/16001 | PR16001]]