docs: public Instances samoaInstancesInformation(weka.core.Instances instances) {
          Instances samoaInstances;
          List<Attribute> attInfo = new ArrayList<Attribute>();
          for (int i = 0; i < instances.numAttributes(); i++) {
              attInfo.add(samoaAttribute(i, instances.attribute(i)));
          }
          samoaInstances = new Instances(instances.relationName(), attInfo, 0);
          
          if(instances.classIndex() >= 0) { // class attribute is present
              samoaInstances.setClassIndex(instances.classIndex());
          }
          
          return samoaInstances;
      }