Added null check to clone invocation