ruby clone