Guaranteeing unique name when using setName
Merge pull request #988 from ivanimanishi/uniqueNameWhenSetName

Guaranteeing unique name when using setName