Please follow the below mentioned steps to add customer with the same detail while adding vendor in web.
Step 1 - Kindly click on vendors >> Click on + new vendor in right hand side.
Step 2 - Select the option to create customer with same details >> Click on add vendor >> Customer and vendor will be added with the same details.