How do you clone a garage door remote?

the remotes have an embedded serial number

the receiver on the opener has has a button you press to make that remote a part of its friendly list. just push the button on the receiver while pushing the button on the remote