What does UIGrid have to do with UIWrapContent? The two are very different scripts that both reposition children, and should never be used together.
You can achieve repeating indices quite easily. In the SetItemData callback just wrap the real index. You will need more items in the list than can fit into the visible space as expected (so that they wrap around properly), but what data you visualize on those items is completely up to your SetItemData callback.
UIWrapContent's purpose is not to copy the functionality of an Android control. Its purpose is to show you how you can use NGUI to create a simple unlimited scroll view. The script is 241 lines including comments, and easily derivable from, or modifiable just by setting the callback. Even if that's not good enough, the code should be short enough to be used as a template for your own custom component.