A query about push_back and pop_front

In reply to dave_59:

May I know why we need to use clone() in this case ? Thank you.