How to duplicate entries and loop them without getting a Twig or deprecation error?
Instead of duplicating the entries, you could run your entries loop twice (or as many times as you want) maybe?

{% for i in 0..1 %}
    {% for entry in entries %}
        {{ entry.title }}   &lt;br&gt;
    {% endfor %}
{% endfor %}