* @return Stella_Object
   */
  public static Stella_Object copyConsTree(Stella_Object self) {
    if (Stella_Object.safePrimaryType(self) == Stella.SGT_STELLA_CONS) {
      { Cons self000 = ((Cons)(self));

        if (self000 == Stella.NIL) {
          return (Stella.NIL);
        }
        else {
          return (Cons.cons(Stella_Object.copyConsTree(self000.value), ((Cons)(Stella_Object.copyConsTree(self000.rest)))));
        }
      }
    }
    else {
      return (self);
    }
  }