Duplicate records

Dear @joost_mineur,

I have the feeling that the samples in this post will get you in the right direction:

Credits to: Shishir