clone method

Transaction clone()

Clone current tx into a standalone object.

Implementation

Transaction clone() {
  bool unsigned = signature == null;
  return Transaction.decode(encode(), unsigned);
}