docs: function removeDuplicates(data) {
    const dedup = [data[0]];
    for(let i = 1; i < data.length; i++) {
      if (stringify(data[i]) !== stringify(data[i - 1])) {
        dedup.push(data[i]);
      } else {
        dedup.push(undefined);
      }
    }
    return dedup;
  }