Fix copy constructors, clone and initialize

Now it is possible to change filters and they are saved correctly
Fix that remote commit works with git 1.6