Updating the newFilterInstance to use an algorithm that loops on all the filter parameters then uses the QMetaObject system to set the property into the new filter instance.