Object.subClass() method