Struct.extend(): prototypal inheritance added

This small improvement adds prototype inheritance in `Struct.extend()`