Component: createFromState class method (for load/save etc.)