Create destroy and copy action for all struct types