Prototypical inheritance for click and iterative objects