return new Instances(data.relationName(), atts, 0);
Instances result = new Instances(data.relationName(), atts, 0); try { result.setClassIndex(data.classIndex()); } catch (Exception ex) {  } return result;
  private Instances cleanStringCopy(Instances data) {    FastVector atts = new FastVector();    for (int i = 0 ; i < data.numAttributes(); i++) {      Attribute att = data.attribute(i);      if (att.type() == Attribute.STRING) {        att = new Attribute(att.name(), null);      }      atts.addElement(att);    }    return new Instances(data.relationName(), atts, 0);  }