Could just wrap the lines above in `if(index == 0)` to avoid multiple initializations, though, besides the overhead, I don't think it would make a difference, since the index remains `0` and it gets overwritten in the clipboard rather than being tagged on.