Cloning of filters for new instances

Cloning of filters and tags when creating new swig instances to prevent filters and tags to be shared