I used a program created by min based on (avisynth) to remove duplicate frames without interpolating exclusively for anime and drawings. note this effect in order to use an interpolation program after removing duplicates for that the Flowframes in the mpdecimate code must have a limit on the maximum number of duplicate removal for this it would have to have the option to modify the mpdecimate code line or fix this code for exclusively for anime
mpdecimate=hi=64*12:lo=320*1.00:max=8
example had the option in (Frame De-Duplication Mode)
Anime De-Duplication with this code
note the program to remove duplicate frames without interpolating
it is still in development but as it is based on avisynth Flowframes has native support since it uses ffmpeg natively supports .avs (avisynth) files.