How to bind the duplicated datepicker using Knockout JS

I have a tab structured view which consists of 5 different tabs. the content in all the 5 tabs were same, So i have reused the code and rendered the same code multiple times using knockout js. the problem here is that I have a datepicker control too. As the controls are duplicated the datepickers were also duplicated when rendered in DOM. Due to the duplication of datepicker IDs in browser, whatever the datepicker is selected the date is updated in first tab datepicker.

So can anyone help me how to solve this issue.