making clone non-static for mocking