Erregistroa posta elektronikoz bidali: A generalized birth and death process for modeling the fates of gene duplication