Remove div inside parent div in jquery object only

I have a divs inside parent div:

<div id="parent">
  <div id="child">some content1</div>
  <div id="child">some content1</div>
</div> 

I get the parent div using jquery:

var allDivs= $("#parent").html();

I want to remove child divs from this parent, how i can do this? child divs should be deleted from jquery object but not from dom, is it possible?