Customize an existing node

Hey team,

I'm trying to build a sort of pre-configured "Table creator" node. It should look very similar to the existing Table-creator node, but should be pre-configured with a fixed set of columns and column names. The user will enter data which will later be written in a database.

I came up with three approaches to implement that node:

a) copy+paste the existing code from your node into a new node and fix/edit the code as needed. This seems like the worst choice to me.

b) create my own node like "MyTableCreatorNodeModel extends TableCreator2NodeModel".

c) create my own node which has a TableCreator2NodeModel as a property instead of extending it.

Which would be the smartest way to do this?

Thanks in advance,

  Alex