When two user's put same files on samba share

User1 can Paste Folder/file under samba share Folder just for one time. If another user2 Paste same file they must change the file name.( windows have options to replace the files with previous 1 )
if user2 wants to put the files on samba share then must be rename the files -
force to rename the file when user2 put same file.
User1 and User using window OS