Adds a module to filter consecutive duplicated objects.