topology.js
function cloneCells(cells) {
  var ncells = new Array(cells.length)
  for(var i=0, il=cells.length; i<il; ++i) {
    ncells[i] = cells[i].slice(0)
  }
  return ncells
}
function cloneCells(cells) {
  var ncells = new Array(cells.length)
  for(var i=0, il=cells.length; i<il; ++i) {
    ncells[i] = cells[i].slice(0)
  }
  return ncells
}
function cloneCells ( cells ) { var ncells = new Array ( cells . length ) for ( var i = 0 , il = cells . length ; i < il ; ++ i ) { ncells [ i ] = cells [ i ] . slice ( 0 ) } return ncells }
Returns a deep copy of cells
Returns a deep copy of cells