Increment the numeric array index for cloned field names

When field name come with array format, sometime it required to increment the array index. So i added the code to do that in the redos method. Please merge it if you feel it's useful.
```
Example : 
Default field : <input type="text" name="emails[0]"/>
Cloned Field : <input type="text" name="emails[1]"/>
```