The children of parents, one or both of whom were slaves at and during the period of cohabitation, and who were recognized by the father as his children, and whose mother was recognized by such father as his wife, and was cohabited with as such, shall be as capable of inheriting any estate whereof such father may have died seized or possessed as though they had been born in lawful wedlock.