fellows could never inherit the dukedom , regardless , having been born out of wedlock , but the duke could have given him a good education , settled unentailed money on him , and allowed him to pursue a gentlemanly profession .