Forgive me for being stupid, but are these two effectively the same?

The only reason I ask is I've seen the former in a plugin I'm adapting, and I was a little thrown by the fact it wasn't simply using `prependTo()` instead;

```
$('li:last', list)
    .clone()
    .insertBefore( $('li:first', list) );

```

Update
------

Following on from my initial question, and concerning @Nick's comments regarding cloning, would these two scenarios produce the same outcome?

```
// 1
for (i = 1; i <= number; i++) {
    $('li:first', list)
        .clone()
        .insertAfter( $('li:last', list) );
    $('li:first', list).remove();
}

// 2
for (i = 1; i <= number; i++) {
    $('li:first', list).appendTo(list);
}

```