SpatialGrid<T> clone() { final copy = SpatialGrid<T>(cellSize); copy.grid = .from(grid); return copy; }