Gravar-mail: Modeling gene and genome duplications in eukaryotes