public TransactionOutput duplicateDetached ( ) { return new TransactionOutput ( params , null , Coin . valueOf ( value ) , Arrays . copyOf ( scriptBytes , scriptBytes . length ) ) ; }
Returns a copy of the output detached from its containing transaction if need be .