[DomCrawler]  Fix memory leak with filter method 

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10879
| License       | MIT
| Doc PR        | no

Add a public method `destroy` on Translator to reset properties and free memory
An other solution to solve this meomry leak, is to replace this line by a simple.

    if (gc_enabled()) {
        gc_collect_cycles();
    }

Wich solution do you think is the better ?