Added better support for clone options when creating a resource