Basically minus duping with less steps. Requires no frame-perfect inputs.