@Override
	public Grid clone() {

		Grid ret = new Grid(width, height, intelligentX, intelligentY, targetX,
				targetY);
		ret.setCurrentCells(Arrays.copyOf(currentCells, currentCells.length));
		for (Integer i : intellingentMovementHistory) {
			ret.getIntellingentMovementHistory().add(i);
		}
		return ret;

	}