Cloning site preventing

Hi we have found few sites that clone our site on fly.

Is there any solutions how we can stop doing it?
https://cyazozete.shop/?_=%2F%23xPOmt7rY7D53%2FnVLCF96KlzxSJSZ
https://beimulipe.shop/?_=%2F%23L4TbcHxqH1lEJrQO9l5T3k44zkPg

the original site is

They clone every page, and change canonical, links almost everything. If I try to use some PHP code

<?php if($_SERVER['SERVER_NAME'] !== 'betpokies.com'): ?>
    <meta http-equiv="refresh" content="0; url=<?= $page->url() ?>">
<?php endif ?>

it’s not working on these sites.
But if I use JS it is working

x.addEventListener('readystatechange',function(){

    const url = 'https://your/request/url';
    if(this.responseURL != url){
        alert('redirected');
    }

});

Is there any other ways to do it more correctly?

What a crazy thing!

Report them to Google and Bing, they will take them off the search.
Check their hosting company, write to them, and they will take them off fully.

thanks, will try to do this.