The method clones the chromosome returning the exact copy of it.
public IGPGene Clone( ) { // create new gene ... SimpleGeneFunction clone = new SimpleGeneFunction( variablesCount, false ); // ... with the same type and value clone.type = type; clone.val = val; return clone; }