cdrBufOutput buf = new cdrBufOutput();
BufferedCdrOutput buf = new BufferedCdrOutput();
  public Any[] clone_slots()  {    if (orb.icSlotSize == 0)      {        return NO_SLOTS;      }    else      {        Any[] r = get_slots();        Any[] copy = new Any[ r.length ];        cdrBufOutput buf = new cdrBufOutput();        buf.setOrb(orb);        for (int i = 0; i < copy.length; i++)          {            r [ i ].write_value(buf);          }        InputStream input = buf.create_input_stream();        for (int i = 0; i < copy.length; i++)          {            copy [ i ] = orb.create_any();            copy [ i ].read_value(input, r [ i ].type());          }        return copy;      }  }