Assert::isEqual() can compare objects that are recursive

Without this pullrequest

```php
use Nette\Forms\Controls\TextInput;

Assert::equal(new TextInput(), new TextInput());
// Exception('Nesting level too deep or recursive dependency.');
```

and with

```php
Assert::equal(new TextInput(), new TextInput());
// success
```