@sipa: Not sure I follow. Are you suggesting avoiding a copy by doing something like:

```
CTxOut txOut;
txOut.nValue = amount;
txOut.scriptPubKey.SetDestination(dest);
```

Performance doesn't matter here, and accessing the CTxOut members directly makes me feel a little dirty...