fun generateCloseOutNetting(tx: TransactionBuilder, signer: PublicKeyTree, vararg states: State<P>): UnitGenerate a transaction performing close-out netting of two or more states.
signer - the party who will sign the transaction. Must be one of the obligor or beneficiary.states - two or more states, which must be compatible for bilateral netting (same issuance definitions,
and same parties involved).