code: public static Struct toStruct(Argument arg) {
  	Struct trg = new StructImpl();
  	StructImpl.copy(arg, trg, false);
  	return trg;
      }
docs: converts a argument scope to a regular struct
  
  @param arg argument scope to convert
  @return resulting struct