Function extendsObject3

Creates an object type that extends 3 other object types